//
//  PossesionStore.h
//  Homepwner
//
//  Created by jiayi xiao on 12-4-20.
//  Copyright 2012年 nju. All rights reserved.
//

#import <Foundation/Foundation.h>

@class Possession;
@interface PossesionStore : NSObject
{
    NSMutableArray *allPossesions;
}

+(PossesionStore *) defaultStore;

-(NSArray *) allPossesions;
-(Possession *) createPossesion;
-(void) removePossession:(Possession *)p;
-(void) movePossessionAtIndex:(int) from toIndex:(int) to;
-(NSString *)possessionArchivePath;
-(BOOL) saveChanges;
-(void) fetchPossessionIfNecessary;

@end
